package cn.liontalk.CommandPattern.pattern1;

import cn.liontalk.CommandPattern.Developer;

public class NoCommandTest1 {

    public static void main(String[] args) {
        Developer xiaoMing = new Developer("小明");
        Requirement requirement = new Requirement("新增黑名单");
        TechnicalManager1 technicalManager1 = new TechnicalManager1("大明");
        technicalManager1.setDeveloper(xiaoMing);
        technicalManager1.action(requirement, "develop");
        System.out.println("开发了 2 天，需求变故，需要暂停。。。");
        technicalManager1.action(requirement, "suspend");
    }
}
